<div ng-controller="orderReceivableBreakbulkController">
    <div class="bg-light lter b-b wrapper-sm">
        <h1 class="m-n font-thin h4">应收登记（零担）</h1>
    </div>

    <div class="wrapper-sm">
        <div class="panel panel-default">
            <div class="panel-body">
                <form name="step1" id="receivableForm" class="form-validation form-horizontal" novalidate>
                    <button ng-hide="true"></button>
                    <div class="form-group">
                        <div class="panel-heading font-bold m-t-n m-b-sm">
                            订单列表
                        </div>
                        <div class="wrapper-sm">
                            <div class="table-responsive table-cel-k">
                                <table class="table-bordered table-hover">
                                    <thead class="table-thea">
                                        <tr>
                                            <th width="9%">订单编号</th>
                                            <th width="9%">客户单位</th>
                                            <th width="9%">发货地址</th>
                                            <th width="9%">中转地</th>
                                            <th width="9%">送货地址</th>
                                            <th width="9%">货物名称</th>
                                            <th width="9%">货物数量</th>
                                            <th width="9%">所需车长</th>
                                            <th width="9%">发货时间</th>
                                            <th width="5%">操作</th>
                                        </tr>
                                    </thead>
                                    <tbody class="tab-tbod">
                                        <tr ng-repeat="item in carrierData.orderList" title="{{item.orderId}} {{item.clientName}} {{item.originProvinceStr + item.originCityStr +  item.originCountyStr + item.originDetails}} {{item.viaList}} {{item.destinationProvinceStr + item.destinationCityStr + item.destinationCountyStr + item.destinationDetails}} {{item.goodsName}} {{item.realQuantityOfGoods + item.goodsUnit}} {{item.carLength}} {{item.deliveryTime}}">
                                            <td>{{item.orderId}}</td>
                                            <td>{{item.clientName}}</td>
                                            <td>{{item.originProvinceStr + item.originCityStr + item.originCountyStr + item.originDetails}}</td>
                                            <td>{{item.viaList}}</td>
                                            <td>{{item.destinationProvinceStr + item.destinationCityStr + item.destinationCountyStr + item.destinationDetails}}</td>
                                            <td>{{item.goodsName}}</td>
                                            <td>{{item.realQuantityOfGoods + item.goodsUnit}}</td>
                                            <td>{{item.carLength}}</td>
                                            <td>{{item.deliveryTime}}</td>
                                            <td>
                                                <a id="orderReceivableBrCtrl_getOrderDetailEvent" class="fa fa-edit m-l-xs  primary text-info" title="编辑" data-toggle="modal" data-target="#orderdetail" ng-click="getOrderDetailEvent(item)"></a>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-lg-5">
                            <button id="orderReceivableBrCtrl_shikpBack" ng-click="shikpBack()" class="pull-right-xs btn btn-sm btn-warning btn-addon "><i class="fa fa-reply"></i>返回</button>
                        </div>
                    </div>

                    <!--orderdetail Modal -->
                    <div class="modal fade bs-example-modal-lg" id="orderdetail" tabindex="-1" data-focus-on="input:first" style="display: none;">
                        <div class="modal-lgs">
                            <div class="modal-content top0">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title" id="myModalLabel">订单详情</h4>
                                </div>

                                <div class="modal-body height0">
                                    <form name="step2" id="form2" class="form-validation form-horizontal" novalidate>
                                        <div class="panel panel-default">
                                            <div class="groupConent">
                                                <div class="group-titel">基本信息
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">订单编号  :</label>
                                                    <label class="col-lg-2 col-md-3 col-sm-9 col-xs-8 control-label text-left">{{orderData.orderId}}</label>
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">子询价编号  :</label>
                                                    <label class="col-lg-2 col-md-3 col-sm-9 col-xs-8 control-label text-left">{{orderData.inquiryChildId}}</label>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">客户订单编号  :</label>
                                                    <label class="col-lg-2 col-md-3 col-sm-9 col-xs-8 control-label text-left">{{orderData.clientOrderId}}</label>

                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">下单时间  :</label>
                                                    <label class="col-lg-2 col-md-4 col-sm-9 col-xs-8 control-label text-left">{{orderData.creationTime}}</label>
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">紧急程度<span class="text-danger">*</span>:</label>
                                                    <label class="col-lg-2 col-md-2 col-sm-9 col-xs-8 control-label text-left">{{orderData.responseTime}}</label>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">计划专员  :</label>
                                                    <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{orderData.plannerName}}</label>
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">商务专员<span class="text-danger">*</span>:</label>
                                                    <label class="col-lg-2 col-md-4 col-sm-9 col-xs-9 control-label text-left">{{orderData.businessAffairsName}}</label>
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">客服专员<span class="text-danger">*</span>:</label>
                                                    <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{orderData.customerServiceName}}</label>
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">调度专员<span class="text-danger">*</span>:</label>
                                                    <label class="col-lg-2 col-md-4 col-sm-9 col-xs-9 control-label text-left">{{orderData.dispatcherName}}</label>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">客户单位<span class="text-danger">*</span>:</label>
                                                    <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{orderData.clientName}}</label>
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">发货计划人<span class="text-danger">*</span>:</label>
                                                    <label class="col-lg-2 col-md-4 col-sm-9 col-xs-9 control-label text-left">{{orderData.consignorName}}</label>
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">发货人号码<span class="text-danger">*</span>:</label>
                                                    <label class="col-lg-2 col-md-3 col-sm-9 col-xs-9 control-label text-left">{{orderData.consignorPhone}}</label>
                                                </div>
                                                <div class="form-group">
                                                    <label class="col-lg-1 col-md-2 col-sm-3 col-xs-3 control-label">发货内容  :</label>
                                                    <label class="col-lg-10 control-label text-left">{{orderData.content}}</label>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="titleC" id="plan">
                                            <h1 class="leftred m-n font-thin h4">线路货物信息</h1>
                                        </div>
                                        <div ng-form="orderTotal" id="orderTotal">
                                            <div class="panel panel-default">
                                                <div class="groupConent">
                                                    <div class="group-titel">总线路信息</div>
                                                    <div class="wrapper-sm m-t-n">
                                                        <div class="table-responsive table-cel-k">
                                                            <table class="table-bordered table-hover">
                                                                <thead class="table-thea">
                                                                    <tr>
                                                                        <th width="9%">发货地址</th>
                                                                        <th width="9%">中转地</th>
                                                                        <th width="9%">送货地址</th>
                                                                        <th width="9%">发货时间</th>
                                                                        <th width="9%">到货时间</th>
                                                                        <th width="9%">里程数</th>
                                                                        <th width="9%">货物类别</th>
                                                                        <th width="9%">货物名称</th>
                                                                        <th width="9%">货物数量</th>
                                                                        <th width="5%">操作</th>
                                                                    </tr>
                                                                </thead>
                                                                <tbody class="tab-tbod">
                                                                    <tr ng-repeat="item in [orderData]" title="{{item.originProvinceStr + item.originCityStr +  item.originCountyStr + item.originDetails}} {{item.viaList}} {{item.destinationProvinceStr + item.destinationCityStr +  item.destinationCountyStr + item.destinationDetails}} {{item.deliveryTime}} {{item.arrivalTime}} {{item.mileage}} {{item.goodsTypeName}} {{item.goodsName}} {{item.realQuantityOfGoods + item.goodsUnit}}">
                                                                        <td>{{item.originProvinceStr + item.originCityStr + item.originCountyStr + item.originDetails}}</td>
                                                                        <td>{{item.viaList}}</td>
                                                                        <td>{{item.destinationProvinceStr + item.destinationCityStr + item.destinationCountyStr + item.destinationDetails}}</td>
                                                                        <td>{{item.deliveryTime}}</td>
                                                                        <td>{{item.arrivalTime}}</td>
                                                                        <td>{{item.mileage}}</td>
                                                                        <td>{{item.goodsTypeName}}</td>
                                                                        <td>{{item.goodsName}}</td>
                                                                        <td>{{item.realQuantityOfGoods + item.goodsUnit}}</td>
                                                                        <td>
                                                                            <a id="orderReceivableBrCtrl_editOrderTotal" data-toggle="modal" title="编辑" data-target="#lineprice" class="fa fa-edit m-l-xs  primary text-info" ng-click="editOrderTotalData(item)"></a>
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="panel panel-default">
                                                <div class="groupConent">
                                                    <div class="group-titel">子线路信息</div>
                                                    <div class="wrapper-sm m-t-n">
                                                        <div class="table-responsive table-cel-k">
                                                            <table class="table-bordered table-hover">
                                                                <thead class="table-thea">
                                                                    <tr>
                                                                        <th width="9%">发货地址</th>
                                                                        <th width="9%">中转地</th>
                                                                        <th width="9%">送货地址</th>
                                                                        <th width="9%">货物类别</th>
                                                                        <th width="9%">货物名称</th>
                                                                        <th width="9%">吨位范围</th>
                                                                        <th width="9%">货物数量</th>
                                                                        <th width="9%">结算单位</th>
                                                                        <th width="9%">结算方式</th>
                                                                        <th width="5%">操作</th>
                                                                    </tr>
                                                                </thead>
                                                                <tbody class="tab-tbod">
                                                                    <tr ng-repeat="item in orderChilder" title="{{item.shipProvinceStr + item.shipCityStr + item.shipAreaStr + item.shipAddress}} {{item.viaList}} {{item.deliverProvinceStr + item.deliverCityStr +  item.deliverAreaStr + item.deliverAddress}} {{item.goodsType}} {{item.goodsName}} {{item.tonRange}} {{item.goodsNum + item.goodsNumUnit}} {{item.reckoner}} {{item.settleType}}">
                                                                        <td>{{item.shipProvinceStr + item.shipCityStr + item.shipAreaStr + item.shipAddress}}</td>
                                                                        <td>{{item.viaList}}</td>
                                                                        <td>{{item.deliverProvinceStr + item.deliverCityStr + item.deliverAreaStr + item.deliverAddress}}</td>
                                                                        <td>{{item.goodsType}}</td>
                                                                        <td>{{item.goodsName}}</td>
                                                                        <td>{{item.tonRange}}</td>
                                                                        <td>{{item.goodsNum + item.goodsNumUnit}}</td>
                                                                        <td>{{item.reckoner}}</td>
                                                                        <td>{{item.settleType}}</td>
                                                                        <td>
                                                                            <a title="编辑" id="orderReceivableCtrl_editOrderChilderData{{item.id}}" data-target="#lineprice" class="fa fa-edit m-l-xs  primary text-info" ng-click="editOrderChilderData(item)"></a>
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="panel panel-default">
                                                <div class="groupConent">
                                                    <div class="group-titel">线路信息</div>
                                                    <div class="form-group">
                                                        <label class="col-lg-1 col-md-2 control-label">发货地址<span class="text-danger">*</span></label>
                                                        <div class="col-lg-11 form-inline">
                                                            <div class="form-group form-inline m-n">
                                                                <div class="form-group m-n">
                                                                    <input type="text" id="orderReceivableBrCtrl_shipProvince" name="orderReceivableBrCtrl_shipProvince" class="form-control" ng-value="lineInfo.shipProvince" disabled="disabled">
                                                                </div>
                                                                <div class="form-group m-n">
                                                                    <input type="text" id="orderReceivableBrCtrl_shipCity" name="orderReceivableBrCtrl_shipCity" class="form-control" ng-value="lineInfo.shipCity" disabled="disabled">
                                                                </div>
                                                                <div class="form-group m-n">
                                                                    <input type="text" id="orderReceivableBrCtrl_shipArea" name="orderReceivableBrCtrl_shipArea" class="form-control" ng-value="lineInfo.shipArea" disabled="disabled">
                                                                </div>
                                                                <div class="form-group m-n">
                                                                    <input type="text" id="orderReceivableBrCtrl_shipdetail" name="orderReceivableBrCtrl_shipdetail" class="form-control" ng-value="lineInfo.shipdetail" placeholder="请填写详细地址" disabled="disabled">
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="form-group">
                                                        <label class="col-lg-1 col-md-2 control-label">送货地址<span class="text-danger">*</span></label>
                                                        <div class="col-lg-11 form-inline">
                                                            <div class="form-group form-inline m-n">
                                                                <div class="form-group m-n">
                                                                    <input type="text" class="form-control" id="orderReceivableBrCtrl_deliverProvince" name="orderReceivableBrCtrl_deliverProvince" ng-value="lineInfo.deliverProvince" disabled="disabled">
                                                                </div>
                                                                <div class="form-group m-n">
                                                                    <input type="text" id="orderReceivableCtrl_deliverCity" name="orderReceivableCtrl_deliverCity" class="form-control" ng-value="lineInfo.deliverCity" disabled="disabled">
                                                                </div>
                                                                <div class="form-group m-n">
                                                                    <input type="text" class="form-control" id="orderReceivableBrCtrl_deliverCity" name="orderReceivableBrCtrl_deliverCity" ng-value="lineInfo.deliverCity" disabled="disabled">
                                                                </div>
                                                                <div class="form-group m-n">
                                                                    <input type="text" class="form-control" id="orderReceivableBrCtrl_deliverdetail" ng-value="lineInfo.deliverdetail" placeholder="请填写详细地址" disabled="disabled" name="shipAddress">
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="form-group">
                                                        <label class="col-lg-1 pull-left control-label">中转地</label>
                                                        <div class="col-lg-6">
                                                            <span class="ui-select-bootstrap dropdown form-control" disabled="disabled">
                                                                <span ng-repeat="item in lineInfo.viaAddressList">
                                                                    <span style="margin-right: 3px; margin-bottom:3px;" class="ui-select-match-item btn btn-default btn-xs">
                                                                        <span>{{item}}</span>
                                                            </span>
                                                            </span>
                                                            </span>
                                                        </div>
                                                    </div>

                                                    <div class="form-group">
                                                        <label class="col-lg-1 col-md-2 control-label">发货时间<span class="text-danger">*</span></label>
                                                        <div class="col-lg-2 col-md-3">
                                                            <div class="input-group input-group-sm date">
                                                                <input id="shipStartTime" id="orderReceivableBrCtrl_shipTime" name="orderReceivableBrCtrl_shipTime" ng-value="lineInfo.shipTime" placeholder="发货时间" class="form-control" type="text" disabled="disabled" />
                                                                <span id="openshipStartTime" class="input-group-addon curpoint">
                                                                    <span class="glyphicon glyphicon-calendar"></span>
                                                                </span>
                                                            </div>
                                                        </div>
                                                        <label class="col-lg-2 col-md-3 control-label">到货时间<span class="text-danger">*</span></label>
                                                        <div class="col-lg-2 col-md-3">
                                                            <div class="input-group input-group-sm date">
                                                                <input id="shipEndTime" name="ship-end-time" ng-value="lineInfo.arriveTime" placeholder="到货时间" class="form-control" type="text" disabled="disabled" />
                                                                <span id="openshipEndTime" class="input-group-addon curpoint">
                                                                    <span class="glyphicon glyphicon-calendar"></span>
                                                                </span>
                                                            </div>
                                                        </div>
                                                        <label class="col-lg-2 col-md-2 control-label">里程数</label>
                                                        <div class="col-lg-2 col-md-3" style="position:relative;">
                                                            <input type="text" class="form-control input-sm" id="orderReceivableBrCtrl_mileage" ng-value="lineInfo.mileage" placeholder="请填写里程数" disabled="disabled" name="mileage">
                                                            <span style="position:absolute;right:-20px;top:5px">公里</span>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="groupConent">
                                                    <div class="group-titel">货物信息</div>
                                                    <div class="form-group">
                                                        <label class="col-lg-1 col-md-2 control-label">货物类别<span class="text-danger">*</span></label>
                                                        <div class="col-lg-2 col-md-3">
                                                            <select id="goodsType" class="form-control input-sm" ng-required="true" ng-model="receivableDataSave.goodsTypeId" ng-change="changeGoodsTypeEvent()" ng-options="x.id as x.name for x in goodsTypeDropDown">
                                                                <option value="">请选择</option>
                                                            </select>
                                                        </div>
                                                        <label class="col-lg-2 col-md-3 control-label">货物名称<span class="text-danger">*</span></label>
                                                        <div class="col-lg-2 col-md-3">
                                                            <select class="form-control input-sm" id="goodsId" ng-required="true" ng-model="receivableDataSave.goodsId" name="goodsId" ng-change="changeGoodsEvent()" required ng-options="x.id as x.name for x in goodsDropDown">
                                                                <option value="">请选择</option>
                                                            </select>
                                                        </div>
                                                        <label class="col-lg-2 col-md-2 control-label">吨位范围<span class="text-danger">*</span></label>
                                                        <div class="col-lg-2 col-md-3">
                                                            <select class="form-control input-sm" id="tonRange" ng-model="receivableDataSave.tonnageRange" name="tonRange" ng-options="x.tonnageRange as x.tonnageRange for x in tonRangeDropDown">
                                                                <option value="">其它</option>
                                                            </select>
                                                        </div>
                                                    </div>
                                                    <div class="form-group">
                                                        <label class="col-lg-1 col-md-2 control-label">货物数量<span class="text-danger">*</span></label>
                                                        <div class="col-lg-2 col-md-3">
                                                            <input type="text" id="orderReceivableBrCtrl_quantityOfGoods" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control input-sm" ng-model="receivableDataSave.quantityOfGoods" placeholder="请填写货物数量" required name="goodsNum">
                                                        </div>
                                                        <div class="col-lg-1 m-l-n-sm col-md-1">
                                                            <select class="form-control input-sm" id="goodsNumUnit" ng-model="receivableDataSave.goodsUnit" name="goodsNumUnit" required ng-options="x.value as x.text for x in goodsQuantityUnitDropDown">
                                                                <option value="">请选择</option>
                                                            </select>
                                                        </div>

                                                        <label class="col-lg-1 col-md-2 control-label">货物数量2</label>
                                                        <div class="col-lg-2 col-md-3">
                                                            <input id="orderReceivableBrCtrl_quantityOfGoodsTwo" type="text" ng-pattern="/^[0-9]+(.[0-9]{1,4})?$/" class="form-control input-sm" ng-model="receivableDataSave.quantityOfGoodsTwo" placeholder="请填写货物数量2" name="goodsNumTwo">
                                                        </div>
                                                        <div class="col-lg-1 m-l-n-sm col-md-1">
                                                            <select class="form-control input-sm" id="goodsNumUnitTwo" ng-model="receivableDataSave.goodsUnitTwo" name="goodsNumUnitTwo" ng-options="x.value as x.text for x in goodsQuantityUnitDropDown">
                                                                <option value="">请选择</option>
                                                            </select>
                                                        </div>
                                                    </div>
                                                </div>

                                                <div name="orderChildren" class="groupConent">
                                                    <ng-form name="orderChildren">
                                                        <div class="group-titel">应收价格信息</div>
                                                        <div class="form-group">
                                                            <label class="col-lg-1 col-md-2 control-label">应收费用类型<span class="text-danger">*</span></label>
                                                            <div class="col-lg-2 col-md-3">
                                                                <select class="form-control input-sm" id="feeType" ng-model="receivableDataSave.feeType" name="feeType" ng-options="x.value as x.text for x in feeTypeDropDown" required>
                                                                <option value="">请选择</option>
                                                            </select>
                                                            </div>
                                                            <label class="col-lg-2 col-md-3 control-label">申请应收</label>
                                                            <div class="col-lg-2 col-md-3" style="position:relative;">
                                                                <input type="text" id="orderReceivableBrCtrl_applyReceivable" ng-pattern="/^[0-9]+(\.[0-9]{1,2})?$/" class="form-control input-sm" ng-model="receivableDataSave.applyReceivable" placeholder="请填写申请应收" name="applyReceivable">
                                                                <span style="position:absolute;right:-5px;top:5px">元</span>
                                                            </div>
                                                            <label class="col-lg-2 col-md-2 control-label">结算方式<span class="text-danger">*</span></label>
                                                            <div class="col-lg-2 col-md-3">
                                                                <select class="form-control input-sm" id="settleType" ng-model="receivableDataSave.settlementType" name="settleType" ng-options="x.value as x.text for x in settlementTypeDropDown" required>
                                                                <option value="">请选择</option>
                                                            </select>
                                                            </div>
                                                        </div>

                                                        <div class="form-group">
                                                            <label class="col-lg-1 col-md-2 control-label">含税<span class="text-danger">*</span></label>
                                                            <div class="col-lg-2 col-md-3">
                                                                <select class="form-control input-sm" id="includeTax" ng-model="receivableDataSave.includeTax" name="includeTax" ng-options="x.value as x.text for x in priceTypeDropDown" required>
                                                                <option value="">请选择</option>
                                                            </select>
                                                            </div>
                                                            <label class="col-lg-2 col-md-3 control-label">应收说明</label>
                                                            <div class="col-lg-4 col-md-3">
                                                                <input type="text" class="form-control input-sm" id="orderReceivableBrCtrl_receivableSummary" ng-model="receivableDataSave.receivableSummary" placeholder="请填写应收说明" name="receivableRemarks">
                                                            </div>
                                                        </div>

                                                        <div class="form-group">
                                                            <label class="col-lg-1 col-md-2 control-label">结算单位<span class="text-danger">*</span></label>
                                                            <div class="col-lg-4 col-md-3">
                                                                <div angucomplete-alt id="reckoner" placeholder="" pause="100" selected-object="onsettleSelected" remote-api-handler="onSettleAutoComplate" search-fields="name" title-field="name" minlength="0" input-class="form-control form-control-small input-sm" initial-value="receivableDataSave.settle"
                                                                    match-class="highlight" field-required="true" input-name="reckoner"></div>
                                                            </div>
                                                            <button id="orderReceivableBrCtrl_addReceivable" class="pull-right-xs btn btn-sm btn-info btn-addon" ng-disabled="!orderChildren.$valid" ng-click="addReceivable()"><i class="glyphicon glyphicon-floppy-saved"></i>{{costName}}</button>
                                                        </div>
                                                    </ng-form>
                                                </div>

                                            </div>

                                        </div>

                                        <div class="titleC" id="plan02">
                                            <h1 class="leftred m-n font-thin h4">线路货物应收信息</h1>
                                        </div>

                                        <div class="wrapper-sm m-t-n">
                                            <div class="table-responsive table-cel-k">
                                                <table class="table-bordered table-hover">
                                                    <thead class="table-thea">
                                                        <tr>
                                                            <th width="9%">应收编号</th>
                                                            <th width="9%">应收费用类型</th>
                                                            <th width="9%">发货地址</th>
                                                            <th width="9%">中转地</th>
                                                            <th width="9%">送货地址</th>
                                                            <th width="9%">货物名称</th>
                                                            <th width="9%">货物数量</th>
                                                            <th width="9%">申请应收</th>
                                                            <th width="9%">结算单位</th>
                                                            <th width="9%">结算状态</th>
                                                            <th width="5%">操作</th>
                                                        </tr>
                                                    </thead>
                                                    <tbody class="tab-tbod">
                                                        <tr ng-repeat="item in receivableList" title="{{item.receivableCode}} {{item.feeTypeStr}} {{item.originAddress}} {{item.viaList}} {{item.destinationAddress}} {{item.goodsName}} {{item.goodsCountStr}} {{item.applyReceivable}} {{item.settle}} {{item.settleStatus}}">
                                                            <td>{{item.receivableCode}}</td>
                                                            <td>{{item.feeTypeStr}}</td>
                                                            <td>{{item.originAddress}}</td>
                                                            <td>{{item.viaList}}</td>
                                                            <td>{{item.destinationAddress}}</td>
                                                            <td>{{item.goodsName}}</td>
                                                            <td>{{item.goodsCountStr}}</td>
                                                            <td>{{item.applyReceivable}}</td>
                                                            <td>{{item.settle}}</td>
                                                            <td>{{item.settleStatus}}</td>
                                                            <th>
                                                                <div ng-if="item.settleStatus == '办理' || item.settleStatus == '退回办理'">
                                                                    <a id="orderReceivableBrCtrl_deleteR{{item.id}}" ng-if="(!item.isAutoCompleted) && item.settleStatus == '退回办理'" data-toggle="modal" title="删除" data-target="#lineprice" class="fa fa-trash-o m-l-xs primary text-info" ng-click="deleteReceivable(item)"></a>
                                                                    <a id="orderReceivableBrCtrl_eidtR{{item.id}}" data-toggle="modal" title="编辑" data-target="#lineprice" class="fa fa-edit m-l-xs  primary text-info" ng-click="eidtReceivableData(item)"></a>
                                                                </div>
                                                            </th>
                                                        </tr>
                                                    </tbody>
                                                </table>
                                            </div>
                                        </div>

                                    </form>
                                </div>
                                <div class="modal-footer">
                                    <button id="orderReceivableBrCtrl_skipModal" type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                                </div>
                            </div>
                        </div>
                    </div>


                </form>

            </div>
        </div>

    </div>
</div>